package com.taxi.driver.socket;

import com.taxi.driver.event.BaseEvent;

/**
 * 功能描述：
 */
public class SocketEvent extends BaseEvent {

    public final static int CONNECT = 1; //开启长连接
    public final static int DISCONNECT = 2; //断开长连接

    public final static int GET_LAST_SPECIAL_INFO = 101; //获取最近一次上传的专车信息
    public final static int SET_SPECIAL_INFO = 102; //设置专车信息
    public final static int ARRIVE_DEST = 103; //重置专车信息
    public final static int SET_SPECIAL_INFO_RIGHT_NOW = 104; //立即上传专车里程消息
    public final static int WORKING_STATUS = 105;// 上下班状态
    public final static int BIZ_STATUS = 106;// 营运状态
    public final static int SEND_POSITION = 108;//发送司机位置
//    public final static int REAL_TIME_POSITION = 109;//司机实时位置

    public SocketEvent(int type) {
        super(type);
    }

    public SocketEvent(int type, Object obj1) {
        super(type, obj1);
    }

    public SocketEvent(int type, Object obj1, Object obj2) {
        super(type, obj1, obj2);
    }

    public SocketEvent(int type, Object obj1, Object obj2, Object obj3) {
        super(type, obj1, obj2, obj3);
    }
}
